#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

 int isPalindrome(int x) 
 {
    int i = x;
    if (x < 0)
    {
        return 0;
    }
    long s = 0;
    while (i != 0)
    {
        s = s * 10 + i % 10;
        i = i / 10;
    }
    if (s == x)
    {
        return 1;
    }
    else
    {
        return 0;
    }
}
    int main()
    {
        int x = 0;
        while (scanf("%d", &x) == 1)
        {
            int n = isPalindrome(x);
            if (n == 1)
            {
                printf("yes\n");
            }
            else
            {
                printf("no\n");
            }
        }
        return 0;
    }







